package com.qf.client;

import com.qf.pojo.BaseResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@FeignClient(serviceId = "bcy-user",fallback = UserClientFallback.class)
public interface UserClient {
    //用户单个查找
    @RequestMapping("/user/findUserByToId")
    public BaseResp findUserByToId(@RequestBody Map map);
}
